package com.zx.mes.test.hyl.model.singleton;

/**
 * 饿汉模式
 * @author hyl
 * @date 2018-3-28
 */
public class Singleton {

    private static Singleton singleton = new Singleton();

    private Singleton(){}

    public static Singleton getInstance(){
        return singleton;
    }
}
